#ifndef MONITORPRO_SCALER_H
#define MONITORPRO_SCALER_H

#include <map>
#include <string>

// 计数器类
class Scaler
{
private:
    std::string index;
    std::map<std::string, std::string> items;

public:
    ~Scaler();

    void setIndex(std::string index_value);
    void setItems(std::map<std::string, std::string> items_value);
    void addItem(std::string key, std::string value);
    std::string toString();
    std::string getIndex();
    std::string getItemsStr();
    std::map<std::string, std::string> getItems();
    void clean();
};

#endif